import {myRequest} from '@/common/config/http.js'
//山地列表
export function mountainList (data) {  
	return myRequest({
		url:'api/Mountains/list',
		method:'POST',
		data:data
	})
}
// 山地详情
export function mountainDetail (id) {  
	return myRequest({
		url:'api/Mountains/detail?id=' + id,
		method:'GET'
	})
}
// 商品列表
export function shopList (id) {  
	return myRequest({
		url:'api/Mountains/goodsList?mountains_id=' + id,
		method:'GET'
	})
}
// 商品服务列表
export function serverList () {  
	return myRequest({
		url:'api/Mountains/serveList',
		method:'POST'
	})
}
// 创建商品订单
export function createOrder (data) {  
	return myRequest({
		url:'api/Order/createOrder',
		method:'POST',
		data:data
	})
}
// 寻缘
export function xunyuan (data) {
	return myRequest({
		url: 'api/Mountains/SearchEdge',
		method: 'POST',
		data: data
	})
}
// 用户信息
export function userInfo (data) {
	return myRequest({
		url: 'api/Users/getUserInfo',
		method: 'POST',
		data: data
	})
}
// 解锁
export function jsQy (data) {
	return myRequest({
		url: 'api/Unlock/unlock',
		method: 'POST',
		data: data
	})
}